package tt.dz.appserver.util.dzcode;

/**
 * OMS 原始响应码
 * 
 * @author xielf
 *
 */
public class OmsCode {

	public static final String SUCCESS = "200";
	/** 站点查询异常 */
	public static final String STATIONQUERYEXCEPTION = "10301101";
	// 查询不到桩
	public static final String CHARGERQUERYNULL = "10301102";
	// 网络超时
	public static final String NETWORKTIMEOUT = "10302100";
	// http未知错误
	public static final String HTTPUNKNOWNERROR = "10303100";
	// 缺少参数字段
	public static final String MISSPARAM = "10303101";
	// 报文未知错误
	public static final String MESSAGEUNKNOWNERROR = "10303200";
	// 报文缺少参数字段
	public static final String MESSAGEMISSPARAM = "10303201";
	// 报文参数类型错误
	public static final String MESSAGEPARAMTYPEERROR = "10303202";
	// 报文参数数值错误
	public static final String MESSAGEPARAMVALUEERROR = "10303203";
	// 报文操作失败
	public static final String MESSAGEEXECERROR = "10303204";
	// redis查询不到数据
	public static final String REDISQUERYNULL = "10303301";
	// 线程类异常
	public static final String THREADEXCEPTION = "10303401";
	// 空指针异常
	public static final String NULLEXCEPTION = "10303402";
	// 数据库连接异常
	public static final String DATABASECONNECTIONEXCEPTION = "10303403";
	// redis库连接异常
	public static final String REDISCONNECTIONEXCEPTION = "10303404";
	// 中间件连接异常
	public static final String MIDDLECONNECTIONEXCEPTION = "10303405";
	// 特来电连接异常
	public static final String TELDCONNECTIONEXCEPTION = "10303406";
	// AS连接异常
	public static final String ASCONNECTIONEXCEPTION = "10303407";
	// OS连接异常
	public static final String OSCONNECTIONEXCEPTION = "10303407";
	// MS连接异常
	public static final String MSCONNECTIONEXCEPTION = "10303407";
	// 数据库查询异常
	public static final String SQLQUERYEXCEPTION = "10303501";
	// 数据库执行异常
	public static final String SQLEXECEXCEPTION = "10303502";
	// 该枪口已经被预约
	public static final String BESPEAKRESULTCHARGERBESPEAKED = "10304010";
	// 该枪口已经被预约
	public static final String CONNECTIONRESULTCHARGEREXCEPTION = "10304011";
	// 当前用户没有预约该枪口,取消预约失败
	public static final String CANCELBESPEAKRESULTNOBESPEAK = "10304012";
	// 关闭充电失败
	public static final String CHARGERESULTCLOSECHARGERFAIL = "10304014";
	// 桩出现故障
	public static final String STOPCHARGERESULTCONNECTIONEXCEPTION = "10304012";
	// 存在未支付的订单
	public static final String BESPEAKRESULTEXISTNOTPAYORDER = "10304015";
	//该桩已经被他人开启了充电
	public static final String CHARGERESULTDUPLICATECHARGEINSTRUCTION = "10304017";
	//已经有人发起了此操作
	public static final String HAS_BEEN_LAUNCHED_THIS_OPERATION = "13000001";
	//该枪口已经被预约
	public static final String ChargeResultChargerBespeaked = "10304018";
	
	// 查询企业用户不存在
	public static final String QUERYENTERPRISEUSERNULL = "10305001";
	// 站点查询异常
	public static final String STATION_QUERY_ERROR = "10301101";
	// 查询不到桩
	public static final String CHARGER_QUERY_ERROR = "10301201";
	// 用户验证失败
	public static final String OTHER_LOGIN_ERROR = "10301400";
	// 用户被锁定
	public static final String OTHER_LOCK_ERROR = "10301401";
	// 没有权限访问该接口
	public static final String OL_NO_POWER_ACCESS_ERROR = "10301402";
	// MS_RPC系统服务错误
	public static final String MS_RPC_ERROR = "10301500";
	// 系统服务错误
	public static final String SYSTEM_ERROR = "10301501";
	// 渠道号验证失败
	public static final String OTHER_LOGIN_CHANNEL_NO_ERROR = "10301600";
	// 第三方token认证参数缺失
	public static final String OL_REQUEST_PARAM_MISS_ERROR = "10301700";
	// 第三方token已过期
	public static final String OL_TOKEN_OUTTIME_ERROR = "10301701";
	// 第三方token认证失败
	public static final String OL_TOKEN_AUTH_FAIL_ERROR = "10301702";
	// 网络超时
	public static final String SESSION_TIME_OUT = "10302100";
	// http未知错误
	public static final String HTTP_UNKNOW_ERROR = "10303100";
	// 请求参数缺失
	public static final String REQUEST_PARAM_MISS_ERROR = "10303101";
	// 参数类型错误
	public static final String HTTP_PARAM_TYPE_ERROR = "10303102";
	// 参数数值错误
	public static final String HTTP_PARAM_VALUE_ERROR = "10303103";
	// 报文未知错误
	public static final String MESSAGE_UNKNOW_ERROE = "10303200";
	// 报文缺少参数字段
	public static final String MESSAGE_PARAM_MISS_ERROE = "10303201";
	// 报文参数类型错误
	public static final String MESSAGE_PARAM_TYPE_ERROE = "10303202";
	// 报文参数类型错误
	public static final String MESSAGE_PARAM_VALUE_ERROE = "10303203";
	// 报文操作失败
	public static final String MESSAGE_PARAM_OPTION_ERROE = "10303204";
	// redis查询不到数据
	public static final String JAVA_REDIS_QUERY_ERROE = "10303301";
	// 线程类异常
	public static final String JAVA_THREAD_ERROE = "10303401";
	// 空指针异常
	public static final String JAVA_NULL_POINTER_ERROE = "10303402";
	// 数据库连接异常
	public static final String JAVA_DB_CONNECTION_ERROE = "10303403";
	// redis库连接异常
	public static final String JAVA_REDIS_CONNECTION_ERROE = "10303404";
	// 中间件连接异常
	public static final String JAVA_MIDDLEWARE_CONNECTION_ERROE = "10303405";
	// 特来电连接异常
	public static final String JAVA_TELAIDIAN_CONNECTION_ERROE = "10303406";
	// AS连接异常
	public static final String JAVA_AS_CONNECTION_ERROE = "10303407";
	// OS连接异常
	public static final String JAVA_OS_CONNECTION_ERROE = "10303408";
	// MS连接异常
	public static final String JAVA_MS_CONNECTION_ERROE = "10303409";
	// 数据库查询异常
	public static final String JAVA_DB_QUERY_ERROE = "10303501";
	// 数据库执行异常
	public static final String JAVA_DB_EXEC_ERROE = "10303502";
	// 请求参数格式错误
	public static final String AS_RPC_PARAM_FORMAT_ERROR = "10306001";
	// 请求参数类型错误
	public static final String AS_RPC_PARAM_TYPE_ERROR = "10306002";
	// 请求参数为空错误
	public static final String AS_RPC_PARAM_EMPTY_ERROR = "10306003";
	// 系统服务不可用
	public static final String AS_RPC_SERVER_ERROR = "10306004";
	// 登录成功
	public static final String OTHER_LOGIN_SUCCESS = "10300200";
	// 获取预约折扣信息失败
	public static final String GET_RESERVATION_DISCOUNT_ERROR = "10306005";
	

	/** =========================指令============================= */
	// 报文未知错误
	public static final String UNKNOWNERROR = "10303200";
	// 报文缺少参数字段
	public static final String MISSPARAMETER = "10303201";
	// 报文参数类型错误
	public static final String PARAMTYPEERROR = "10303202";
	// 报文参数数值错误
	public static final String PARAMVALUEERROR = "10303203";
	// 报文参数数值错误
	public static final String NORMAL = "00000000";
	// 其他故障
	public static final String OTHERFAULT = "00000001";
	// 急停故障
	public static final String EMERGENCYSTOP = "00000002";
	// 电表故障
	public static final String AMMETER = "00000004";
	// 接触器故障
	public static final String SWITCHES = "00000008";
	// 读卡器故障
	public static final String CARDREADER = "00000010";
	// 内部过温故障
	public static final String OVERTEMPERATURE = "00000020";
	// 连接器故障
	public static final String CONNECTOR = "00000040";
	// 绝缘故障
	public static final String ISOLATION = "00000080";
	// 输出电流异常
	public static final String OUTPUTCURRENTABNORMAL = "00000100";
	// 输出电压异常
	public static final String OUTPUTVOLTAGEABNORMAL = "00000200";
	// 充电机模块故障
	public static final String CHARGERMODULE = "00000400";
	// 充电机通信故障
	public static final String CHARGERCOMMUNICATION = "00000800";
	// BMS禁止充电
	public static final String BMSPROHIBITCHARGE = "00001000";
	public static final String INPUTVOLTAGEABNORMAL = "00002000";

}
